﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace DTO
{
    [DataContract]
    [KnownType(typeof(AdmCategory))]
    [KnownType(typeof(Category))]
    public class CategoryBase: DTOBase
    {
        [DataMember]
        public int IDCategory { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public double Weight { get; set; }
    }
}
